package batchcal.mas.dtc.scripts.outsource;

import batchcal.mas.dtc.scripts.outsource.fileprocess.BaseFileProcess;
import batchcal.mas.dtc.scripts.outsource.source.impl.BaiDuSpellCheckDataSource;

/**
 * @Author: ycy
 * @CreateDate: 2019/6/12 16:01
 */
public class BaiDuSpellCheckExport {

  public static void main(String[] args) {

    System.out.println("haha ");
    args = new String[]{"D:\\Users\\yincy\\Desktop\\百度纠错词\\11577219-4.csv",""};
//    args = new String[]{"D:\\Users\\yincy\\Desktop\\百度纠错词\\test.csv",""};
    BaseFileProcess bp = BaseFileProcess.getProcess(args, BaiDuSpellCheckDataSource.getInstance());
    long start = System.currentTimeMillis();
    if (bp != null) {
      bp.doRun(args);
    }
    long end = System.currentTimeMillis();
    System.out.println("cost time : " + (end - start));

  }


}
